<template>
    <!-- <div>
<van-search
  v-model="valuess"
  shape="round"
  background="#4fc08d"
  placeholder="请输入搜索关键词"
/>
<div v-show="ym">
    <van-tag type="primary">标签</van-tag>
<van-tag type="success">标签</van-tag>
<van-tag type="danger">标签</van-tag>
<van-tag type="warning">标签</van-tag>
</div>
<div v-show="!ym">
    <van-cell-group v-for="item in qsearchApiData">
  <van-cell :title="item.goods_name" />
</van-cell-group>
</div>
<van-empty description="描述文字" v-show="km"/>
    </div> -->
    <sou></sou>
</template>

<script setup>
// import { ref,watch } from 'vue';
// import { qsearchApi } from '@/api/api';
// let qsearchApiData=ref([])
// let ym=ref(true)
// let km=ref(false)
// let valuess=ref('')
// watch(valuess,(val)=>{
//     if(val.length==0){
//         ym.value=true
//         km.value=false
//     }else{
//         ym.value=false
//         qsearchApi(val).then(res=>{
//             qsearchApiData.value=res.data.message
//             console.log(res);
//             if(qsearchApiData.value.length==0){
//                 km.value=true
//             }else{
//                 km.value=false
//             }
//         })
//     }
// })
import sou from '@/components/sou.vue';
</script>

<style lang="scss" scoped>

</style>